package com.huawei.appmarket.service.store.awk.bean;

import java.util.ArrayList;
import java.util.List;
import o.chc;
import o.ehy;

public class DoubleHorizontalSmallEntranceBean extends HorizontalSmallEntranceBean {
    private static final int CARD_NUM = 2;

    public List ʼᐝ() {
        return ˎ(this.list_);
    }

    private int ʽˊ() {
        return chc.ʾ();
    }

    private List<ehy> ˎ(List<ehy> list) {
        if (list == null) {
            return null;
        }
        int size = list.size();
        if (size <= ʽˊ() * 2 || size % 2 == 0) {
            return list;
        }
        List<ehy> arrayList = new ArrayList(list);
        arrayList.remove(size - 1);
        return arrayList;
    }
}
